<?php
header('content-type:text/html;charset=utf-8'); 
	echo "Start".date("Y-m-j H:i:s",time());
$del_id=$_GET["del_id"];

$conn=mysql_connect("127.0.0.1:3306","root","tdled2018");
	echo "conn".date("Y-m-j H:i:s",time());
if (!$conn){
	die('Could not connect: ' . mysql_error());
}

mysql_select_db("chipdb", $conn);
	echo "Selectdb".date("Y-m-j H:i:s",time());
mysql_query("set character set 'utf8'");//读库 

mysql_query("set names 'utf8'");//写库 

$SQL = "DELETE FROM `chipdb`.`chipruku` WHERE `chipruku`.`FK` = ".$del_id;

echo $SQL;

mysql_query($SQL);
	echo "query".date("Y-m-j H:i:s",time());
mysql_close($conn);
	echo "Endph".date("Y-m-j H:i:s",time());
?>